package vip.web3.common.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 接收application.yml中的props下面的属性
 */
@Data
@Component
@ConfigurationProperties(prefix = "props")
public class Prop {
    private String qRcodeUrl;
    /** 推广地址*/
    private String qRcodeUrlSpace;
    private String fileUploadDir;
    private String rootPath;
    private String fileDir;
    private String resource;
    private String webUrl;
    private String webUrlIP;
    private Boolean isOss;
    private Boolean isTest;

    public Prop() {
    }

}
